Skip to content

Conversation

einalien
Copy link
Owner

@einalien einalien commented Nov 1, 2026 •

Summary

Introduce the TEST environment infrastructure using two independently managed OpenTofu stacks: network and frontend. Both stacks reuse existing modules and maintain separate Kubernetes-backed state.

Changes

  • Add TEST network stack with three subnets, a router, and router interfaces.
  • Add TEST frontend stack with configurable VM count, security group rules, floating IPs, and NGINX provisioning through cloud-init.
  • Connect the frontend stack to the network using remote-state outputs.
  • Include example configuration files and provider dependency lock files.
  • Extend GitHub Actions CI to validate bootstrap, TEST network, and TEST frontend configurations.
  • Add concurrency handling and enforce read-only provider lock files during CI validation.

Validation

  • tofu fmt -check -recursive passes.
  • tofu validate passes for all three configurations.
  • GitHub Actions CI completes successfully.
  • TEST network and frontend deploy successfully.
  • NGINX responds over HTTP.

Notes

Infrastructure was initially provisioned manually for verification. Automated deployment through GitHub Actions will be implemented separately, along with STAGE and PROD environments.

@einalien einalien added the enhancement New feature or request label Nov 1, 2026
@einalien einalien self-assigned this Nov 1, 2026
@einalien einalien merged commit 6a6bb3c into main Nov 1, 2026
1 check passed
@einalien einalien deleted the feat/test-environment branch November 1, 2026 01:30
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant